KeyEvent

public interface KeyEvent

A common interface that all keyboard events must extend.

Inheritors

Functions

Link copied to clipboard
public abstract KeyCode keyCode()
Returns the code of the key.
Link copied to clipboard
public abstract KeyLocation keyLocation()
Returns the location of the key on the keyboard.
Link copied to clipboard
public abstract KeyModifiers keyModifiers()
Returns the keyboard modifiers applied.